home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950929-19951130 / 000288_news@columbia.edu_Fri Nov 3 18:17:20 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA16341
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Fri, 3 Nov 1995 13:17:37 -0500
  3. Received: by apakabar.cc.columbia.edu id AA27328
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Fri, 3 Nov 1995 13:17:33 -0500
  5. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  6. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: MS-kermit and APC codes (LONG)
  9. Date: 3 Nov 1995 18:17:20 GMT
  10. Organization: Columbia University
  11. Lines: 39
  12. Message-Id: <47dmbg$qlt@apakabar.cc.columbia.edu>
  13. References: <478v23$1s8@ftcnews.nrcs.usda.gov>
  14. Nntp-Posting-Host: watsun.cc.columbia.edu
  15. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  16.  
  17. In article <478v23$1s8@ftcnews.nrcs.usda.gov>,
  18. Ute R. Willmore <ute@feinde2.ftc.nrcs.usda.gov> wrote:
  19. >...
  20. >Anyway, now I am trying to determine if a file exists on the my DOS system,
  21. >and if so send that file to the UNIX system, otherwise, I want to give some 
  22. >indication of the error to UNIX, to prevent C-Kermit from getting started.
  23. >
  24. Wouldn't it be easier to just have C-Kermit try to GET the file from an
  25. MS-DOS Kermit server, and if it fails, that means it wasn't there?
  26.  
  27. [...as opposed to transferring a script file, then executing it...]
  28.  
  29. >This works okay. Since I send something for sure, C-Kermit doesn't hang, and
  30. >once I have the file on my UNIX system I can figure out if it is data or my 
  31. >script. It's ugly and but there are some problems.
  32. >
  33. >1) I can't delete my_script, i.e. putting 'run del my_script' inside the 
  34. >   script has no effect. How come?
  35. >
  36. Because it's open?
  37.  
  38. >2) I would prefer to just send some error return (rather than my_script)
  39. >   if the data file doesn't exist. I tried using 'output ERROR' in the second 
  40. >   if but it doesn't arrive on my UNIX system. Am I missing something?
  41. >
  42. If you used the method suggested at the top, the GET command would return
  43. an error code.  In your "output" command, you probably need to stick \13
  44. onto the end.
  45. ...
  46. >4) Is there a GOOD source on using APC codes and MS-Kermit? I have read most
  47. >   of Using MS-Kermit and Using C-Kermit, but neither one mentions them. The
  48. >   .bwr files mention them but not in detail. 
  49. >
  50. The KERMIT.UPD file that comes with MS-DOS Kermit 3.14, and the ckcker.upd
  51. file that comes with C-Kermit 5A(190).
  52.  
  53. Hope this helps.
  54.  
  55. - Frank